package com.lifl.b328.garden.model;

import java.io.Serializable;


public class User implements Serializable {
	
	private static final long serialVersionUID = -7193272658263166874L;
	
	protected long id;
	protected String email;
	public String token;
		
		public User(String email,long id){
			this.email = email;
			this.id = id;
		}
		
		public User(String email){
			this(email,-1);
		}
		
	
	public String getEmail(){
		return this.email;
	}
	
	public long getID(){
		return this.id;
	}
	
	public void setID(long id){
		this.id = id;
	}

	public String getToken() {
		return token;
	}
	public void setToken(String token){
		this.token = token;
	}
}
